﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ModifyProductTaste.aspx.cs"
    Inherits="Admin_ModifyProductTaste" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>编辑口味</title>
    <link href="AdminCSS/style.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <table border="0" cellpadding="0" cellspacing="1" width="100%" style="background: Black;">
            <tr style="height: 27px">
                <td style="background: #DFDEDC; width: 4%" align="center">
                    口味名
                </td>
                <td style="background: #DFDEDC; width: 4%" align="center">
                    起始
                </td>
                <td style="background: #DFDEDC; width: 4%" align="center">
                    结束
                </td>
                <td style="background: #DFDEDC; width: 4%" align="center">
                    量值
                </td>
            </tr>
            <asp:Repeater runat="server" ID="rptTasteList" 
                onitemdatabound="rptTasteList_ItemDataBound">
                <ItemTemplate>
                    <tr id="row" runat="server" style="background: White; height: 27px;">
                        <td align="center">
                            <%#Eval("TasteName") %>
                            <asp:HiddenField runat="server" ID="HId" Value='<%#Eval("Id") %>' />
                        </td>
                        <td align="center">
                            <%#Eval("StartKey") %>
                        </td>
                        <td align="center">
                            <%#Eval("EndKey") %>
                        </td>
                        <td align="center">
                            <asp:TextBox runat="server" Width="30px" ID="txtValue">0</asp:TextBox>
                        </td>
                    </tr>
                </ItemTemplate>
            </asp:Repeater>
            <tr style="background: White; height: 27px;">
                <td colspan="4" align="center">
                    <asp:Button ID="btnSave" runat="server" OnClick="btnSave_Click" Text="保存" Width="70px" />
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
